﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Bombif
{
    class Player
    {
        enum Playerstate
        {
            Ready,
            NotReady
        };

        Playerstate state;

        private Playerstate State
        {
            get { return state; }
            set { state = value; }
        }

        //Player identifiants
        int numPlayer;

        public int NumPlayer
        {
            get { return numPlayer; }
            set { numPlayer = value; }
        }

        String username;

        public String Username
        {
            get { return username; }
            set { username = value; }
        }
        String ip;

        public String Ip
        {
            get { return ip; }
            set { ip = value; }
        }

        public Player(int numPlayer, String username, String ip)
        {
            this.numPlayer = numPlayer;
            this.username = username;
            this.ip = ip;
            this.state = Playerstate.NotReady;
        }

    }
}
